{include file="comm/left"}

<body>
<div class="col-sm-6">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>代理商信息修改</h5>
        </div>
        <div class="ibox-content">
            <form class="form-horizontal m-t" id="commentForm" action="{:url('index/agent/mod')}" method="post" >
                <div class="form-group">
                    <label class="col-sm-3 control-label">店铺名称：</label>
                    <div class="col-sm-8">
                        <input  name="shop" minlength="2" type="text" class="form-control" required="" aria-required="true" value="{$mod.shop}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">负责人姓名：</label>
                    <div class="col-sm-8">
                        <input  name="name" minlength="1" type="text" class="form-control" required="" aria-required="true" value="{$mod.name}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">负责人手机：</label>
                    <div class="col-sm-8">
                        <input  name="iphone" minlength="6" type="text" class="form-control" required="" aria-required="true" value="{$mod.iphone}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">负责人邮箱：</label>
                    <div class="col-sm-8">
                        <input  name="email"  type="email" class="form-control" required="" aria-required="true" value="{$mod.email}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">店铺所在地区：</label>
                           
                    <div class="col-sm-8">
                            <input  name="locat" id="path"  type="text" class="form-control"  aria-required="true" value="{$mod.region}" readonly>
                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>左键单击地图选取位置[左键双击放大、右键双击缩小]</span> 
                     </div>

                <div class="form-group">

                    <input type="hidden" id="hid" name="id" value="{$mod.id}">
                    <input type="hidden" id="hjwd" name="hjwd" value="{$mod.location}">
                    <input type="hidden" id="shi" name="shi" value="{$mod.shi}">
                    <input type="hidden" id="qu" name="qu" value="{$mod.qu}">
            {include file="comm/map2"}
        {include file="comm/iplock"}
                    <div class="col-sm-4 col-sm-offset-3">
                        <button class="btn btn-primary" type="submit" name="submit">修改</button>
                    </div>
                </div>
            </form>
        </div>
    </div >
</div>
</body> 

